.home-container {
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 轮播图区域 */
.poster-section {
  margin-bottom: 24px;
}

.poster-section .ant-carousel {
  height: 600px;
}

.poster-section .ant-carousel .slick-slide {
  text-align: center;
  height: 600px;
  overflow: hidden;
}

.poster-section .ant-carousel .slick-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-section img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

/* 热点内容区域 */
.hotspot-section {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  flex: 1;
  margin-bottom: 24px; /* 确保与footer有足够间距 */
}

.section-title {
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: bold;
}

/* 热门帖子和资源区域 */
.hot-posts,
.hot-resources {
  background: #fff;
  padding: 16px;
  border-radius: 4px;
  min-height: 400px;
}

h3 {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 500;
}

/* 热门帖子样式 */
.hot-posts {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
}

.post-item {
  padding: 12px 0;
  cursor: pointer;
  transition: all 0.3s;
  display: block !important;
}

.post-item .ant-list-item-meta {
  display: none;
}

.post-item:hover {
  background-color: #f5f5f5;
}

.post-info {
  width: 100%;
}

.hot-posts .post-item .post-title {
  margin: 0 !important;
  font-size: 16px !important;
  color: #333 !important;
  margin-bottom: 8px !important;
  font-weight: normal !important;
  line-height: 1.5 !important;
  display: block !important;
  align-items: unset !important;
  gap: unset !important;
  flex-wrap: unset !important;
  font-weight: bold !important;
}

.post-item .post-meta {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  color: #666;
  flex-wrap: nowrap;
}

.hot-posts .post-item .post-meta {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  align-items: center !important;
  font-size: 14px !important;
  color: #666 !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
}

.post-likes {
  color: #ff6699;
}

.post-views {
  color: #1890ff;
}

.post-user {
  color: #666;
}

.post-time {
  color: #999;
}

.post-comments {
  color: #999;
}

/* 热门资源样式 */
.hot-resources {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
}

.resource-item {
  padding: 12px 0;
  cursor: pointer;
  transition: all 0.3s;
}

.resource-item:hover {
  background-color: #f5f5f5;
}

.resource-info {
  width: 100%;
}

.resource-title {
  margin: 0;
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
}

.resource-meta {
  font-size: 14px;
  color: #666;
  display: flex;
  gap: 16px;
  align-items: center;
}

.resource-type {
  color: #ff6699;
  font-weight: 500;
}

.resource-size {
  color: #1890ff;
}

.resource-downloads {
  color: #999;
}
